<script setup lang="ts">
defineOptions({
  name: "Welcome"
});
import { ref } from "vue";
import { useIntervalFn } from "@vueuse/core";
import { dateFormat, getCurrentWeek } from "@pureadmin/utils";

let time3 = ref(dateFormat("YYYY/MM/DD HH:mm:ss"));

useIntervalFn(() => {
  time3.value = dateFormat("YYYY/MM/DD HH:mm:ss");
}, 1000);
</script>

<template>
  <div class="main text-[16px]">
    <el-card> {{ getCurrentWeek() }} {{ time3 }} </el-card>
  </div>
</template>
